package com.njym.java.security.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2019-11-07 16:46:27
 */
@Table(name = "course_section")
public class CourseSection implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //课程id
    @Column(name = "cou_id")
    private Integer couId;
	
	    //标题
    @Column(name = "title")
    private String title;
	
	    //排序
    @Column(name = "section_order")
    private Integer sectionOrder;
	
	    //0 视频  1音频
    @Column(name = "section_type_choices")
    private Integer sectionTypeChoices;
	
	    //是否课时试看
    @Column(name = "free_trail")
    private Integer freeTrail;

	//上传时间
	@Column(name = "create_time")
	private Date createTime;

	//播放次数
	@Column(name = "play_times")
	private Integer playTimes;

	//视频时长
	@Column(name = "video_length")
	private Integer videoLength;

	
	    //音频地址
    @Column(name = "section_link")
    private String sectionLink;
	
	    //删除标志
    @Column(name = "deleted")
    private Integer deleted;
	
	    //
    @Column(name = "attr1")
    private String attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;

	//  课时简介详情
	@Column(name = "attr5")
	private String attr5;

	//显示时间
	@Column(name = "show_time")
	private Date showTime;

	//是否推荐
	@Column(name = "recommend")
	private Integer recommend;

	@Column(name = "low_video")
	private  String lowVideo;


	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：课程id
	 */
	public void setCouId(Integer couId) {
		this.couId = couId;
	}
	/**
	 * 获取：课程id
	 */
	public Integer getCouId() {
		return couId;
	}
	/**
	 * 设置：标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 获取：标题
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * 设置：排序
	 */
	public void setSectionOrder(Integer sectionOrder) {
		this.sectionOrder = sectionOrder;
	}
	/**
	 * 获取：排序
	 */
	public Integer getSectionOrder() {
		return sectionOrder;
	}
	/**
	 * 设置：0 视频  1音频
	 */
	public void setSectionTypeChoices(Integer sectionTypeChoices) {
		this.sectionTypeChoices = sectionTypeChoices;
	}
	/**
	 * 获取：0 视频  1音频
	 */
	public Integer getSectionTypeChoices() {
		return sectionTypeChoices;
	}
	/**
	 * 设置：是否课时试看
	 */
	public void setFreeTrail(Integer freeTrail) {
		this.freeTrail = freeTrail;
	}
	/**
	 * 获取：是否课时试看
	 */
	public Integer getFreeTrail() {
		return freeTrail;
	}
	/**
	 * 设置：音频地址
	 */
	public void setSectionLink(String sectionLink) {
		this.sectionLink = sectionLink;
	}
	/**
	 * 获取：音频地址
	 */
	public String getSectionLink() {
		return sectionLink;
	}
	/**
	 * 设置：删除标志
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：删除标志
	 */
	public Integer getDeleted() {
		return deleted;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public String getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}

	public String getAttr5() {
		return attr5;
	}

	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getPlayTimes() {
		return playTimes;
	}

	public void setPlayTimes(Integer playTimes) {
		this.playTimes = playTimes;
	}

	public Integer getVideoLength() {
		return videoLength;
	}

	public void setVideoLength(Integer videoLength) {
		this.videoLength = videoLength;
	}

	public Date getShowTime() {
		return showTime;
	}

	public void setShowTime(Date showTime) {
		this.showTime = showTime;
	}

	public Integer getRecommend() {
		return recommend;
	}

	public void setRecommend(Integer recommend) {
		this.recommend = recommend;
	}

	public String getLowVideo() { return lowVideo; }

	public void setLowVideo(String lowVideo) { this.lowVideo = lowVideo; }
}
